﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;

using nms.gaming.model;

namespace nms.gaming.progressive.model
{
    /// <summary>
    /// </summary>
    [Serializable]
    [DataContract(Namespace = "nms.gaming", Name = "jackpotfund")]
    public class JackpotFund
    {
        /// <summary>
        /// </summary>
        public JackpotFund( )
        {         
            this.Value = new Currency();
            this.Growth = new JackpotFundGrowth(); 
        }

        [DataMember(Order = 0, Name = "id", IsRequired = true)]
        public string Id { get; set; }

        [DataMember(Order = 1, Name = "name", IsRequired = true)]
        public String Name { get; set; }

        [DataMember(Order = 2, Name = "value", IsRequired = false)]
        public Currency Value { get; set; }

        [DataMember(Order = 3, Name = "estimated", IsRequired = false)]
        public Currency Estimated { get; set; }

        [DataMember(Order = 4, Name = "growth", IsRequired = false)]
        public JackpotFundGrowth Growth { get; set; }

        /// <summary>
        /// </summary>
        [DataMember(Order = 6, Name = "timestamp", IsRequired = true)]
        public DateTime DateTime { get; set; }

        [DataMember(Order = 7, Name = "timestring", IsRequired = true)]
        public String DateTimeString
        { get; set; }

    }
}
